package com.example.safeassistan.risk.model;

public class RiskPointLevelStatModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"total":3,"riskLevel1":0,"riskLevel2":1,"riskLevel3":1,"riskLevel4":1,"riskStatusCount":1}
     * timestamp : 1618535592123
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * total : 3
         * riskLevel1 : 0
         * riskLevel2 : 1
         * riskLevel3 : 1
         * riskLevel4 : 1
         * riskStatusCount : 1
         */

        private Integer total;
        private Integer riskLevel1;
        private Integer riskLevel2;
        private Integer riskLevel3;
        private Integer riskLevel4;
        private Integer riskStatusCount;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getRiskLevel1() {
            return riskLevel1;
        }

        public void setRiskLevel1(Integer riskLevel1) {
            this.riskLevel1 = riskLevel1;
        }

        public Integer getRiskLevel2() {
            return riskLevel2;
        }

        public void setRiskLevel2(Integer riskLevel2) {
            this.riskLevel2 = riskLevel2;
        }

        public Integer getRiskLevel3() {
            return riskLevel3;
        }

        public void setRiskLevel3(Integer riskLevel3) {
            this.riskLevel3 = riskLevel3;
        }

        public Integer getRiskLevel4() {
            return riskLevel4;
        }

        public void setRiskLevel4(Integer riskLevel4) {
            this.riskLevel4 = riskLevel4;
        }

        public Integer getRiskStatusCount() {
            return riskStatusCount;
        }

        public void setRiskStatusCount(Integer riskStatusCount) {
            this.riskStatusCount = riskStatusCount;
        }
    }
}
